package ee.serge.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import ee.serge.shared.Article;
import ee.serge.shared.HandledException;

@RemoteServiceRelativePath("article")
public interface ArticleService extends RemoteService {

   void addArticle(Article article) throws HandledException;
   
   void updateArticle(Article article) throws HandledException;
   
   Article getArticle(String type) throws HandledException;
   
}
